<?php

require_once __DIR__ . "/../fast_theme/base.php";

use fast\Controller;

$fontUrl = $this->options->JCustomFont;
if (strpos($fontUrl, 'woff2') !== false) {
    $fontFormat = 'woff2';
} elseif (strpos($fontUrl, 'woff') !== false) {
    $fontFormat = 'woff';
} elseif (strpos($fontUrl, 'ttf') !== false) {
    $fontFormat = 'truetype';
} elseif (strpos($fontUrl, 'eot') !== false) {
    $fontFormat = 'embedded-opentype';
} elseif (strpos($fontUrl, 'svg') !== false) {
    $fontFormat = 'svg';
}


require_once Controller::instance()->view->fetch();